<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.11.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>CheLive: CoreWindow: Класс TWindow</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="TWindow"></a><h1 class="cio">Класс TWindow</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#%40Description">Описание</a></td><td><a class="section"  href="#%40Hierarchy">Иерархия</a></td><td><a class="section"  href="#%40Fields">Поля</a></td><td><a class="section"  href="#%40Methods">Методы</a></td><td>Свойства</td></tr></table>
<a name="%40Description"></a><h2 class="unit">Модуль</h2>
<p class="unitlink">
<a   href="CoreWindow.html">CoreWindow</a></p>
<h2 class="declaration">Объявления</h2>
<p class="declaration">
<code>type TWindow = class(TObject)</code></p>
<h2 class="description">Описание</h2>
<p>
Окно    </p>
<a name="%40Hierarchy"></a><h2 class="hierarchy">Иерархия</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="thisitem">TWindow</li></ul><h2 class="overview">Обзор</h2>
<a name="%40Fields"></a><h3 class="summary">Поля</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreWindow.TWindow.html#disp">disp</a></b>: PDisplay;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreWindow.TWindow.html#wnd">wnd</a></b>: x.TWindow;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreWindow.TWindow.html#vi">vi</a></b>: PXVisualInfo;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreWindow.TWindow.html#attrs">attrs</a></b>: array[0..10] of Integer;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreWindow.TWindow.html#destroyAtom">destroyAtom</a></b>: TAtom;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreWindow.TWindow.html#protocolsAtom">protocolsAtom</a></b>: TAtom;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreWindow.TWindow.html#cursor">cursor</a></b>: TCursor;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreWindow.TWindow.html#event">event</a></b>: <a   href="CoreWindow.TWindowEvent.html">TWindowEvent</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreWindow.TWindow.html#wndProcs">wndProcs</a></b>: <a   href="CoreWindow.html#TWindowProcs">TWindowProcs</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreWindow.TWindow.html#pos">pos</a></b>: <a   href="CoreMath.TVec2.html">TVec2</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreWindow.TWindow.html#clientSize">clientSize</a></b>: <a   href="CoreMath.TVec2.html">TVec2</a>;</code></td>
</tr>
</table>
<a name="%40Methods"></a><h3 class="summary">Методы</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CoreWindow.TWindow.html#Init">Init</a></b>(title: String; w, h: Integer; haveBorder, resizeable: Boolean): Boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CoreWindow.TWindow.html#PollEvents">PollEvents</a></b>: Boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CoreWindow.TWindow.html#ProcessEvent">ProcessEvent</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CoreWindow.TWindow.html#SwapBuffers">SwapBuffers</a></b>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CoreWindow.TWindow.html#AddProc">AddProc</a></b>(proc: <a   href="CoreWindow.html#TWindowProc">TWindowProc</a>; param: Pointer = nil);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CoreWindow.TWindow.html#ShowCursor">ShowCursor</a></b>(show: Boolean);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CoreWindow.TWindow.html#Close">Close</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="CoreWindow.TWindow.html#Create">Create</a></b>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <b><a   href="CoreWindow.TWindow.html#Destroy">Destroy</a></b>; override;</code></td>
</tr>
</table>
<h2 class="description">Описание</h2>
<h3 class="detail">Поля</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="disp"></a><code><b>disp</b>: PDisplay;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="wnd"></a><code><b>wnd</b>: x.TWindow;</code></td>
</tr>
<tr><td colspan="2">
<p>
Окно</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="vi"></a><code><b>vi</b>: PXVisualInfo;</code></td>
</tr>
<tr><td colspan="2">
<p>
Формат пикселя</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="attrs"></a><code><b>attrs</b>: array[0..10] of Integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
Атрибуты выбора формата пикселя</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="destroyAtom"></a><code><b>destroyAtom</b>: TAtom;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="protocolsAtom"></a><code><b>protocolsAtom</b>: TAtom;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="cursor"></a><code><b>cursor</b>: TCursor;</code></td>
</tr>
<tr><td colspan="2">
<p>
Графический курсор</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="event"></a><code><b>event</b>: <a   href="CoreWindow.TWindowEvent.html">TWindowEvent</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
текущее сообщение</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="wndProcs"></a><code><b>wndProcs</b>: <a   href="CoreWindow.html#TWindowProcs">TWindowProcs</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
список обработчиков сообщений</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="pos"></a><code><b>pos</b>: <a   href="CoreMath.TVec2.html">TVec2</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
положение окна</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="clientSize"></a><code><b>clientSize</b>: <a   href="CoreMath.TVec2.html">TVec2</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
размер клиентской области окна</p>
</td></tr>
</table>
<h3 class="detail">Методы</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Init"></a><code>function <b>Init</b>(title: String; w, h: Integer; haveBorder, resizeable: Boolean): Boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
Инициализация      </p>
<h6 class="description_section">Параметры</h6>
<dl class="parameters">
<dt>title</dt>
<dd>заголовок</dd>
<dt>w</dt>
<dd>ширина</dd>
<dt>h</dt>
<dd>высота</dd>
<dt>haveBorder</dt>
<dd>имеет ли окно бордюры</dd>
<dt>resizeable</dt>
<dd>может ли окно менять размеры</dd>
</dl>
<h6 class="description_section">Возвращаемые значения</h6>
<p class="return">True если инициализация прошла успешно</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="PollEvents"></a><code>function <b>PollEvents</b>: Boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
Обработка сообщений </p>
<h6 class="description_section">Возвращаемые значения</h6>
<p class="return">False если получено сообщение закрытия окна</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ProcessEvent"></a><code>procedure <b>ProcessEvent</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Обработка теущего сообщения (используется только самим классом)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="SwapBuffers"></a><code>procedure <b>SwapBuffers</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Переключение буферов (вывод того что было нарисовано OpenGL)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="AddProc"></a><code>procedure <b>AddProc</b>(proc: <a   href="CoreWindow.html#TWindowProc">TWindowProc</a>; param: Pointer = nil);</code></td>
</tr>
<tr><td colspan="2">
<p>
Добавление процедуры-обработчика сообшений   </p>
<h6 class="description_section">Параметры</h6>
<dl class="parameters">
<dt>proc</dt>
<dd>адрес процедуры-обработчика</dd>
<dt>param</dt>
<dd>параметр пользователя (будет передано в обработчик)</dd>
</dl>
<h6 class="description_section">Материалы по теме</h6>
<dl class="see_also">
  <dt><a class="normal"  href="CoreWindow.TWindowEvent.html">TWindowEvent</a></dt>
  <dd></dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ShowCursor"></a><code>procedure <b>ShowCursor</b>(show: Boolean);</code></td>
</tr>
<tr><td colspan="2">
<p>
Показать курсор </p>
<h6 class="description_section">Параметры</h6>
<dl class="parameters">
<dt>show</dt>
<dd>если True то курсор будет показан, иначе спятан</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Close"></a><code>procedure <b>Close</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Закрыть окно</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Сгенерировал <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.11.0</a> дата/время 2010-05-02 13:43:35</em>
</span>
</body></html>
